const router = require('express').Router();

const arr = ['秃驴', '泼猴', '猪', '河妖'];
const title = "你好世界";
const sign = '不要低头，王冠会掉';
const richText = `
  <h2 style="color:red">我是富文本数据</h2>
`
router.get('/home', (req,res) => {
  res.render('home', {
    arr,
    title,
    sign,
    richText
  })
})

module.exports = router;